package oop7;

import java.util.Scanner;

/**
 * @author oldliu
 * @since 1.0
 */
public class CalcTest3 {
    public static void main(String[] args) {
        Calc c = new Calc();
        Scanner in = new Scanner(System.in);
        System.out.println("input two number:");
        int a = in.nextInt();
        int b = in.nextInt();
        try {
            int shang = c.div(a, b);
            System.out.println("结果是：" + shang);

        } catch (Exception e) {
            e.printStackTrace();
        }

    }
}
